fix(lint): resolve import sort errors and update tech stack in CLAUDE.md

- ProjectScanner.ts, cliEnv.ts: fix simple-import-sort/imports order
- CLAUDE.md: update tech stack to Electron 40.x, React 19.x
This commit is contained in:
iliya 2026-03-24 18:23:00 +02:00
parent 368f42f04f
commit 3b65dc4e3b
3 changed files with 15 additions and 17 deletions

View file

@ -21,7 +21,7 @@ Key capabilities:
100% free, open source. No API keys. No configuration. Runs entirely locally.
## Tech Stack
Electron 28.x, React 18.x, TypeScript 5.x, Tailwind CSS 3.x, Zustand 4.x
Electron 40.x, React 19.x, TypeScript 5.x, Tailwind CSS 3.x, Zustand 4.x
## Commands
Always use pnpm (not npm/yarn) for this project.

View file

@ -15,6 +15,18 @@
* - SessionSearcher: Search functionality
*/
import {
AUTO_CLAUDE_DIR,
CCSWITCH_DIR,
CLAUDE_CODE_DIR,
CLAUDE_WORKTREES_DIR,
CONDUCTOR_DIR,
CURSOR_DIR,
TWENTYFIRST_DIR,
VIBE_KANBAN_DIR,
WORKSPACES_DIR,
WORKTREES_DIR,
} from '@main/constants/worktreePatterns';
import {
type PaginatedSessionsResult,
type Project,
@ -46,19 +58,7 @@ import {
import { createLogger } from '@shared/utils/logger';
import * as path from 'path';
import {
AUTO_CLAUDE_DIR,
CCSWITCH_DIR,
CLAUDE_CODE_DIR,
CLAUDE_WORKTREES_DIR,
CONDUCTOR_DIR,
CURSOR_DIR,
TWENTYFIRST_DIR,
VIBE_KANBAN_DIR,
WORKSPACES_DIR,
WORKTREES_DIR,
} from '@main/constants/worktreePatterns';
import { configManager } from '../infrastructure/ConfigManager';
import { LocalFileSystemProvider } from '../infrastructure/LocalFileSystemProvider';
import { ProjectPathResolver } from './ProjectPathResolver';
@ -310,7 +310,6 @@ export class ProjectScanner {
});
// 3. Merge custom project paths from config (persisted "Select Folder" picks)
const { configManager } = await import('../infrastructure/ConfigManager');
const customPaths = configManager.getCustomProjectPaths();
const existingPaths = new Set(groups.flatMap((g) => g.worktrees.map((w) => w.path)));

View file

@ -8,11 +8,10 @@
* can find the tools they need and authenticate properly.
*/
import { userInfo } from 'os';
import { buildMergedCliPath } from '@main/utils/cliPathMerge';
import { getClaudeBasePath } from '@main/utils/pathDecoder';
import { getCachedShellEnv, getShellPreferredHome } from '@main/utils/shellEnv';
import { userInfo } from 'os';
export function buildEnrichedEnv(binaryPath?: string | null): NodeJS.ProcessEnv {
const shellEnv = getCachedShellEnv();