Coding agents: GitHub App planning and cloud coding agents (draft, Dean merges with the desktop release)

Merged
DA
10d ago
+32542-3836

Draft. Do not merge. Dean merges this himself, timed with a desktop release (see the checklist).

This merges the long-lived coding-agents branch: cloud coding agents started from a Luke plan, and planning that reads a GitHub repository through the Luke GitHub App instead of a folder on the Mac.

What's on the branch

PRWhat
#1863Sign in with GitHub through the Luke GitHub App, the App's server client, and the install flow
#1866GET /api/github/repositories; plan.repository
#1868Planning reads the repository in an Eve sandbox; plan_command and the Mac command path are deleted
#1870Mac repository chip in the composer, plus Change repository / Open on GitHub; show_code reads from the sandbox; the Mac folder path is deleted
#1862coding_agent storage, the model catalog (/api/models), the default model and effort
#1871The separate coder Eve service (direct Anthropic/OpenAI), plus the Start, list, messages, and Stop routes
#1872Mac: the Start split button with provider logos, Copy plan moved into ⋯, agent tabs with live transcript and Stop, Settings › Coding agents
#1876Readiness review: the coding-agent sweep bound (25 h), Settings fixes, masking, docs, merge checklist

Already on main and merged into this branch: #1860 (daily allowance removed), #1867 (Eve 0.74), #1861 (AI Elements + Tailwind), #1873, #1874.

Before merging

The merge checklist is in #1876's body. In short:

  • GitHub App: its settings, and the GITHUB_APP_* env vars, which the eve and coder services also need. After the merge, sign-in reads GITHUB_APP_CLIENT_ID / GITHUB_APP_CLIENT_SECRET, so production sign-in moves to the App at merge with no manual swap.
  • Vercel: three services (web, eve, coder), the coder sandbox prewarm, and a function duration of at least 30 s for the long-poll.
  • Release the desktop in the same window. Pre-branch desktops can't read plans (the repository key is required) and their Mac command path is gone. Existing plans open on the repository chip.
  • Migrations 0061–0064, where 0064 drops plan_command.
  • Not verified without real credentials: App sign-in on a deployment, a real sandbox checkout and push, and a coding agent on a real model.

Decisions for Dean:

  • The coding-agent sweep bound of 25 h, or exclude coding agents from the sweep.
  • Approval to update the AGENTS.md "scheduled sweep" sentence and packages/hosted/CLAUDE.md's queue_question sentence. Both are now stale.

🤖 Generated with Claude Code


Open workspace in Conductor


Devin Review