fix(javascript): remove duplicate childNodes import (#8886)

* fix(javascript): remove duplicate childNodes import

The squash of #7967 re-added the import already introduced in afc18131f,
so typecheck failed with TS2300.

* test(gdb): expect the command-output cap limitation

The retained-record limitation now names the command-output setting.
The coverage assertion still required the previous fixed-cap sentence.

* test(cli): keep rejected mcp add values off Amp settings

mcp add now rejects a flag in the --command value position. The Amp
registration test still treated that invocation as a successful selection.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
morlutoandCursor Agent authored and GitHub committed 2026-11-04 20:43:04 +08:00
1 parent 2d16a40a49
commit 89317a39fa
3 files changed
+27 -9

No files matched your search

@@ -1,8 +1,6 @@
import * as t from "@babel/types";
import { childNodes } from "./javascriptSemanticTraversal.js";
import { childNodes } from "./javascriptSemanticTraversal.js";
/** Syntax alone can establish an exit, but never a branch's contextual truth. */
export type ElectronStatementFallthrough =
| { readonly kind: "exit" }