mirror of
https://github.com/stablyai/orca.git
synced 2026-09-24 16:02:41 +00:00
* feat: scope terminal shell history per worktree Each worktree gets its own HISTFILE so ArrowUp only surfaces commands from the current worktree. Integrates with the new LocalPtyProvider architecture: history env injection runs after buildSpawnEnv but before spawnShellWithFallback, and onBeforeFallbackSpawn keeps HISTFILE in sync when the shell falls back. * fix: align preload type declaration with implementation Add missing command field to PtyApi.spawn in index.d.ts to match the runtime index.ts signature, fixing TS2769 overload conflict. * chore: remove terminal-history-scope-design.md from tracked files * fix: mock terminal-history in worktrees test The deleteWorktreeHistoryDir import pulls in electron's app module. Add a vi.mock so the test doesn't hit the real electron export.