chore: initial sync

This commit is contained in:
fn-registry agent
2026-06-06 12:49:52 +02:00
parent 9af2e75246
commit f461296e8a
+6 -3
View File
@@ -108,10 +108,13 @@ func (d *deps) handlePagePerceive(_ context.Context, _ mcp.CallToolRequest, a pa
}
}
// `fn run` pasa los argumentos POSICIONALMENTE a la función del pipeline
// (no como flags argparse): el orden debe coincidir con la firma
// cdp_perceive_outline(debug_port, tab_id, max_chars).
cmd := exec.Command(filepath.Join(root, "fn"), "run", "cdp_perceive_outline",
"--debug-port", fmt.Sprint(port),
"--tab-id", tabID,
"--max-chars", fmt.Sprint(maxChars),
fmt.Sprint(port),
tabID,
fmt.Sprint(maxChars),
)
cmd.Dir = root
var stdout, stderr strings.Builder