fix: avoid repeated macOS privacy prompts (#1524)
* fix: avoid repeated macos privacy prompts * fix: reduce background worktree permission probes * chore: pin oxlint for ci * fix: preserve optional rpc params with zod 4.4 * fix: preserve optional inline rpc params with zod 4.4
This commit is contained in:
@@ -65,9 +65,13 @@ describe('GitHandler', () => {
|
||||
const result = (await dispatcher.callRequest('git.status', { worktreePath: tmpDir })) as {
|
||||
entries: Record<string, unknown>[]
|
||||
conflictOperation: string
|
||||
head?: string
|
||||
branch?: string
|
||||
}
|
||||
expect(result.entries).toEqual([])
|
||||
expect(result.conflictOperation).toBe('unknown')
|
||||
expect(result.branch).toMatch(/^refs\/heads\//)
|
||||
expect(typeof result.head).toBe('string')
|
||||
})
|
||||
|
||||
it('detects untracked files', async () => {
|
||||
|
||||
Reference in New Issue
Block a user