Migrate authentication to GitHub App #56MergedKrzysztof-Cieslakmerged 4 commits intomainfromrefs/pull/56/headConversationFiles changed47 files changed+2760-583StackedSplit.env.example+7 −4agents.md+13 −17apps/server/src/agent/hosted.test.ts+25 −4apps/server/src/agent/repository.ts+4 −2apps/server/src/auth/config.ts+10 −4apps/server/src/auth/routes.test.ts+95 −17apps/server/src/auth/routes.ts+75 −10apps/server/src/auth/session.test.ts+221 −17apps/server/src/auth/session.ts+332 −52apps/server/src/channels/routes.test.ts+33 −6apps/server/src/channels/routes.ts+12 −8apps/server/src/chat/hosted.test.ts+112 −11apps/server/src/chat/service.ts+227 −41apps/server/src/config.test.ts+7 −5apps/server/src/config.ts+1 −1apps/server/src/github/client.test.ts+153 −34apps/server/src/github/client.ts+290 −38apps/server/src/main.ts+69 −28apps/server/src/plan/service.ts+1 −1apps/server/src/socket/admission.test.ts+51 −6apps/server/src/socket/admission.ts+19 −8apps/server/src/storage/contract.ts+34 −9apps/server/src/storage/memory/adapter.ts+9 −2apps/server/src/storage/model.ts+1 −3apps/server/src/storage/port.ts+5 −0apps/server/src/storage/postgres/adapter.test.ts+24 −1apps/server/src/storage/postgres/adapter.ts+25 −9apps/server/src/storage/postgres/migrations/001_initial.sql+0 −2apps/server/src/storage/postgres/startup.test.ts+48 −3apps/server/src/wire.ts+3 −1apps/web/src/api.ts+41 −3apps/web/src/app.tsx+1 −0apps/web/src/repository-picker.tsx+271 −74apps/web/src/wire.test.ts+103 −2apps/web/src/wire.ts+19 −7compose.yaml+3 −2docs/authentication.md+107 −50docs/channels.md+4 −3docs/exe-dev.md+106 −0docs/hosted-agent.md+20 −9docs/storage.md+7 −4e2e/collab.e2e.ts+1 −1e2e/github.ts+64 −6e2e/hosted.e2e.ts+60 −18e2e/playwright.config.ts+3 −2readme.md+41 −56scripts/e2e.ts+3 −2