fix(cursor): omit undefined exec args and keep exec-resolved under owned dialects

Cursor bash/grep frames wrote optional kwargs as present-undefined, and
tools.format gemini projectors dropped kCursorExecResolved so settled
calls ran twice.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jairuspace
2026-08-10 13:39:40 -06:00
parent 45e12e5bb7
commit 5cbd482f8e
16 changed files with 241 additions and 15 deletions
@@ -1537,9 +1537,9 @@ describe("CursorExecHandlers Pi frame translation", () => {
expect(calls).toEqual([
{ pattern: "x", path: ".", case: false },
// Case-sensitive is the local default, so `false` maps to "unset",
// not to `case: true`.
{ pattern: "x", path: ".", case: undefined },
// Case-sensitive is the local default, so `false` maps to unset —
// the key is omitted rather than written as `case: undefined`.
{ pattern: "x", path: "." },
]);
});