Generate document descriptions #120MergedKrzysztof-Cieslakmerged 1 commit intomainfromrefs/pull/120/headConversationFiles changed50 files changed+1376-221StackedSplitapps/server/src/channels/routes.test.ts+23 −1apps/server/src/channels/routes.ts+2 −0apps/server/src/jobs/document-description.ts+50 −0apps/server/src/jobs/document-summary.test.ts+174 −19apps/server/src/jobs/document-summary.ts+108 −33apps/server/src/jobs/summary-coordinator.ts+9 −6apps/server/src/main.ts+33 −2apps/server/src/mcp.ts+2 −0apps/server/src/mcp/documents.test.ts+21 −4apps/server/src/mcp/hosted.ts+10 −0apps/server/src/socket/admission.test.ts+1 −0apps/server/src/socket/admission.ts+2 −0apps/server/src/storage/contract.ts+73 −0apps/server/src/storage/memory/adapter.ts+40 −2apps/server/src/storage/model.ts+28 −1apps/server/src/storage/port.ts+3 −0apps/server/src/storage/postgres/adapter.test.ts+1 −0apps/server/src/storage/postgres/adapter.ts+119 −5apps/server/src/storage/postgres/migrations.ts+3 −0apps/server/src/storage/postgres/migrations/011_document_descriptions.sql+35 −0apps/server/src/wire.ts+2 −0apps/web/src/api.ts+2 −0apps/web/src/chat/reference-picker.test.ts+30 −2apps/web/src/chat/reference-picker.tsx+23 −4apps/web/src/chat/references.test.ts+1 −0apps/web/src/chat/references.ts+1 −1apps/web/src/document-actions.test.ts+71 −3apps/web/src/document-actions.tsx+71 −9apps/web/src/document-picker.tsx+16 −1apps/web/src/document-search-dialog.tsx+6 −1apps/web/src/hosted.tsx+4 −0apps/web/src/navigation-shell.tsx+10 −6apps/web/src/project-sidebar.tsx+8 −1apps/web/src/research-sidebar.test.ts+4 −0apps/web/src/research-workspace.tsx+28 −10apps/web/src/room-workspace.tsx+18 −11apps/web/src/use-project-documents.ts+11 −8docs/architecture.md+36 −6docs/background-jobs.md+67 −34docs/channels.md+40 −9docs/hosted-agent.md+15 −2docs/local-agent-mcp.md+27 −5docs/storage.md+46 −26e2e/chat-references.e2e.ts+3 −0e2e/database.ts+20 −0e2e/document-navigation.e2e.ts+11 −2packages/editor/src/background-work.test.ts+38 −0packages/editor/src/background-work.tsx+22 −7packages/protocol/index.d.ts+4 −0packages/protocol/session.test.ts+4 −0