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:
@@ -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: "." },
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user