emdash
emdash copied to clipboard
feat: migrate git stack
- reworks git around shared runtime leases with machine-scoped local and ssh access through RuntimeManager
- replaces legacy app git controllers with repository and worktree controllers backed by shared git services
- introduces push-fed GitRepositoryStore and GitWorktreeStore mirrors for refs remotes head status staged changes and unstaged changes
- adds live model generation and sequence handling so renderer mirrors ignore stale git snapshots and preserve event ordering
- adds git model identity fields so content-only restages and ref oid changes still invalidate dependent monaco models
- adds optimistic worktree updates for stage unstage revert and commit flows while surfacing mutation failures in the ui
- moves create task branch selection task titlebars diff panels commit cards image diffs and git action handlers onto the new git stores
- routes clone init repository inspection project creation workspace bootstrap delete preflight and byoi provisioning through runtime-backed git operations
- resolves github gitlab and forgejo remote context from repository model data for issues prs provider defaults and remote-dependent task actions
- keeps ssh compatibility behind legacy runtime adapters while removing obsolete watcher polling controller and provider plumbing
- reorganizes app git contracts into events rpc types and utils and removes superseded shared module files
- centralizes deep equality and live model helpers in the shared package for reuse across runtime and renderer state handling