fix: snapshot saves logs+prompt to logs/ subdir; routing via_x under start pad; router disabled

This commit is contained in:
Tom
2026-03-11 11:04:24 +01:00
parent 8412277b3d
commit 3d9497ebe5
5 changed files with 68 additions and 11 deletions

View File

@@ -84,8 +84,9 @@ export function registerProjectTools(server: McpServer, callKicadScript: Functio
{
step: z.string().describe("Step number or identifier, e.g. '1' or '2'"),
label: z.string().describe("Short label for this checkpoint, e.g. 'schematic_ok' or 'layout_ok'"),
prompt: z.string().optional().describe("Full prompt text to save as PROMPT_step{step}_{timestamp}.md alongside the snapshot"),
},
async (args: { step: string; label: string }) => {
async (args: { step: string; label: string; prompt?: string }) => {
const result = await callKicadScript("snapshot_project", args);
return {
content: [{