Skip to content

Cache default branch resolution#733

Closed
cschubiner wants to merge 35 commits intogeneralaction:mainfrom
cschubiner:codex/cache-default-branch
Closed

Cache default branch resolution#733
cschubiner wants to merge 35 commits intogeneralaction:mainfrom
cschubiner:codex/cache-default-branch

Conversation

@cschubiner
Copy link
Contributor

Summary\n- add a small in-memory cache for default branch lookups\n- reuse cached default branch in git commit-and-push\n\n## Testing\n- not run (not requested)

rokt-clayschubiner and others added 30 commits January 31, 2026 15:15
Add Cmd+Shift+J and Cmd+Shift+K to cycle through agents (conversations)
working on the same task. This complements the existing Cmd+Arrow keys
that switch between tasks.

- Add cmd+shift compound modifier support to keyboard shortcuts
- Add NEXT_AGENT/PREV_AGENT shortcuts in useKeyboardShortcuts
- Use custom events to communicate between App and ChatInterface
- Fix duplicate ShortcutModifier type in CommandPalette

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add Next Agent and Previous Agent commands to the command palette
for discoverability of the Cmd+Shift+J/K shortcuts.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
The shortcut display was only showing the key without the modifiers
for compound modifiers like cmd+shift.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add agent switch hotkeys + palette entries
# Conflicts:
#	src/renderer/components/AppKeyboardShortcuts.tsx
#	src/renderer/hooks/useKeyboardShortcuts.ts
Sort repositories by most recent task activity (descending) and tasks
within each repository by updatedAt (descending). This replaces the
previous localStorage-based custom drag-and-drop ordering.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
…#709)

* fix: build each mac architecture separately to fix native module mismatch (generalaction#706)

* fix: fail verification if no app bundles found
…neralaction#711)

Removes the ensureClaudeAutoApprove functionality since auto-approve
is already handled via CLI flags when launching agents.

Fixes generalaction#708
* feat: add task archive functionality

- Add archivedAt column to tasks table with migration
- Add archive/restore/getArchivedTasks methods to DatabaseService
- Add IPC handlers and expose via preload
- Add Archive option to task context menu in sidebar
- Add collapsible Archived section showing archived tasks per project
- Add restore button on hover for archived tasks
- Archived tasks are hidden from main list but preserved in database
- Restored tasks appear at top of list (updatedAt is refreshed)

* feat: add delete button for archived tasks

- Add delete button next to restore button in archived tasks section
- Use same Trash icon and styling as other delete buttons
- Add proper Radix UI tooltips for both restore and delete buttons

* feat: add archive button to ProjectMainView

- Add archive button next to delete for individual tasks
- Add bulk archive in select mode (Archive button next to Delete)
- Pass onArchiveTask prop from App to ProjectMainView
- Edge case already handled: archiving active task clears active state

* format

* fix: address bugbot issues for archive feature

- Add silent option to handleArchiveTask for bulk operations
- Pass silent: true from bulk archive to prevent duplicate toasts
- Add restoringTaskIdsRef to prevent duplicate restore operations

* format

* fix: handle archive edge cases

- Add background PTY cleanup on archive (kills running agents)
- Return boolean from handleArchiveTask for bulk error detection
- Add taskSnapshot fallback if refresh fails after archive error

* fix: add confirmation dialog and restore fallback

- Use TaskDeleteButton for archived task deletion (adds confirmation dialog)
- Add fallback to manually add task to active list if getTasks fails after restore

* fix: archive refresh race condition and status reset

- Add archivedTasksVersion to trigger sidebar refresh after archive completes
- Fixes race condition where sidebar refetched before DB was updated
- Reset task status to 'idle' on archive since PTY processes are killed

* fix: fetch archived tasks when projects load

* fix: add archive guard and restore fallback order
…itial-prompt

Persist last task agents and expose initial prompt
cschubiner and others added 5 commits February 3, 2026 12:28
Brings in upstream changes including:
- Terminal keybindings module
- Open-in menu improvements
- Telemetry updates
- Various UI enhancements

Resolved conflicts:
- package.json/package-lock.json: took upstream version (0.4.1)
- App.tsx: kept sortByRecency feature for left sidebar
- MultiAgentTask.tsx: kept split-view implementation

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Merge upstream (generalaction:main) into main
@vercel
Copy link

vercel bot commented Feb 4, 2026

@rokt-clayschubiner is attempting to deploy a commit to the General Action Team on Vercel.

A member of the Team first needs to authorize it.

@cschubiner cschubiner closed this Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants