githubnext/chopinPublic

Let's compose rich plans together

Migrate authentication to GitHub App

KCKrzysztof Cieslak authored
eacff8cPatch
Parentc66a2b1
38 files changed+2272-442
StackedSplit
.env.example+4 โˆ’3
agents.md+9 โˆ’8
apps/server/src/agent/hosted.test.ts+4 โˆ’4
apps/server/src/auth/config.ts+10 โˆ’4
apps/server/src/auth/routes.test.ts+90 โˆ’17
apps/server/src/auth/routes.ts+75 โˆ’10
apps/server/src/auth/session.test.ts+165 โˆ’7
apps/server/src/auth/session.ts+250 โˆ’14
apps/server/src/channels/routes.test.ts+32 โˆ’5
apps/server/src/channels/routes.ts+12 โˆ’8
apps/server/src/chat/hosted.test.ts+111 โˆ’10
apps/server/src/chat/service.ts+201 โˆ’39
apps/server/src/config.test.ts+7 โˆ’5
apps/server/src/github/client.test.ts+153 โˆ’34
apps/server/src/github/client.ts+290 โˆ’38
apps/server/src/main.ts+61 โˆ’27
apps/server/src/plan/service.ts+1 โˆ’1
apps/server/src/socket/admission.test.ts+42 โˆ’5
apps/server/src/socket/admission.ts+16 โˆ’7
apps/server/src/storage/contract.ts+39 โˆ’0
apps/server/src/storage/memory/adapter.ts+21 โˆ’0
apps/server/src/storage/port.ts+7 โˆ’0
apps/server/src/storage/postgres/adapter.ts+31 โˆ’0
apps/server/src/storage/postgres/startup.test.ts+3 โˆ’2
apps/server/src/wire.ts+3 โˆ’1
apps/web/src/api.ts+40 โˆ’3
apps/web/src/repository-picker.tsx+271 โˆ’74
apps/web/src/wire.test.ts+18 โˆ’0
compose.yaml+3 โˆ’2
docs/authentication.md+111 โˆ’45
docs/channels.md+4 โˆ’3
docs/hosted-agent.md+16 โˆ’7
docs/storage.md+6 โˆ’3
e2e/github.ts+63 โˆ’5
e2e/hosted.e2e.ts+60 โˆ’18
e2e/playwright.config.ts+3 โˆ’2
readme.md+37 โˆ’29
scripts/e2e.ts+3 โˆ’2