chore: initial sync
This commit is contained in:
+6
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user