githubnext/chopinPublic

Let's compose rich plans together

Add human-readable document URLs

KCKrzysztof Cieslak authored
eef8724Patch
Parent4087e8b
53 files changed+1555-201
StackedSplit
apps/server/src/auth/routes.test.ts+103 −7
apps/server/src/auth/routes.ts+39 −3
apps/server/src/auth/session.test.ts+9 −2
apps/server/src/auth/session.ts+20 −9
apps/server/src/channels/routes.test.ts+58 −1
apps/server/src/channels/routes.ts+32 −1
apps/server/src/channels/slug.test.ts+59 −0
apps/server/src/channels/slug.ts+26 −0
apps/server/src/main.ts+3 −0
apps/server/src/mcp.test.ts+11 −6
apps/server/src/mcp.ts+18 −8
apps/server/src/mcp/hosted.test.ts+23 −2
apps/server/src/mcp/hosted.ts+59 −28
apps/server/src/socket/admission.test.ts+1 −0
apps/server/src/socket/admission.ts+1 −0
apps/server/src/storage/contract.ts+81 −0
apps/server/src/storage/memory/adapter.ts+27 −1
apps/server/src/storage/model.ts+11 −5
apps/server/src/storage/port.ts+1 −0
apps/server/src/storage/postgres/adapter.test.ts+118 −0
apps/server/src/storage/postgres/adapter.ts+94 −4
apps/server/src/storage/postgres/migrations.ts+25 −4
apps/server/src/storage/postgres/migrations/002_document_slugs.sql+18 −0
apps/server/src/storage/postgres/migrations/002_document_slugs.ts+107 −0
apps/server/src/wire.ts+1 −0
apps/web/src/api.ts+14 −1
apps/web/src/channel-recovery.test.ts+38 −1
apps/web/src/channel-recovery.ts+44 −2
apps/web/src/document-picker.tsx+8 −3
apps/web/src/hosted.test.ts+26 −2
apps/web/src/hosted.tsx+89 −19
apps/web/src/repository-picker.tsx+3 −4
apps/web/src/room-workspace.tsx+13 −7
docs/architecture.md+15 −0
docs/authentication.md+25 −9
docs/channels.md+46 −13
docs/implementation-lifecycle.md+11 −4
docs/local-agent-mcp.md+23 −3
docs/self-hosting.md+1 −1
docs/storage.md+13 −7
e2e/database.ts+14 −0
e2e/document-navigation.e2e.ts+11 −4
e2e/hosted.e2e.ts+63 −25
e2e/responsive-activity.e2e.ts+1 −1
e2e/room.ts+20 −5
e2e/smoke.e2e.ts+2 −2
packages/protocol/document-url.test.ts+80 −0
packages/protocol/document-url.ts+35 −0
packages/protocol/index.d.ts+2 −0
packages/protocol/package.json+4 −0
skills/creating-chopin-plans/SKILL.md+4 −2
skills/implementing-chopin-plans/SKILL.md+4 −4
skills/implementing-chopin-plans/contract.test.ts+1 −1