The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
style: satisfy desktop eslint (curly braces, import order)
Tekniumbda83a473709
diff --git a/apps/desktop/electron/gitlock.ts b/apps/desktop/electron/gitlock.tsindex 09677e6f8be..4bc396f5ee0 100644--- a/apps/desktop/electron/gitlock.ts+++ b/apps/desktop/electron/gitlock.ts@@ -55,12 +55,16 @@ export async function clearStaleGitLocks(const gitDir = path.join(repoRoot, '.git')const removed: string[] = []try {- if (!fs.statSync(gitDir).isDirectory()) return removed+ if (!fs.statSync(gitDir).isDirectory()) {+ return removed+ }} catch {return removed}- if (await isGitRunning()) return removed+ if (await isGitRunning()) {+ return removed+ }const cutoff = Date.now() - minAgeMsfor (const name of LOCK_NAMES) {diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex 3bcc28ad53b..b7c095ba862 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -162,6 +162,7 @@ import {removeWorktree,switchBranch} from './git-worktree-ops'+import { clearStaleGitLocks } from './gitlock'import { readAndConsumeHandoffResult } from './handoff-result'import {ATTACHMENT_UPLOAD_DEFAULT_MAX_BYTES,@@ -253,7 +254,6 @@ import {resolveCommitLogSelection,shouldCountCommits} from './update-count'-import { clearStaleGitLocks } from './gitlock'import { waitForUpdateClearance } from './update-gate'import { readLiveUpdateMarker, updateHandoffConflict, writeUpdateMarker } from './update-marker'import { isOfficialSshRemote, OFFICIAL_REPO_HTTPS_URL } from './update-remote'