nexthub
Projects
Explore
Sign in
githubnext/chopin
Public
Let's compose rich plans together
Star
Subscribe
Code
Documents
Automations
Delivery
Changes
13
Tasks
0
Issues
11
Files
Commits
999+
Changes
13
Add document archival and deletion
KC
Krzysztof Cieslak
authored
2 months ago
committed by
Krzysztof Cieślak
086f0f3
Patch
Parent
29b4441
85
files changed
+4675
-660
Stacked
Split
apps/server/src/chan
nels/routes.test.ts
+235
−0
apps/server/src/c
hannels/routes.ts
+130
−12
apps/server/src/jobs/do
cument-summary.test.ts
+50
−0
apps/server/src/jo
bs/runner.test.ts
+55
−0
apps/server/src
/jobs/runner.ts
+38
−0
apps/server/src/
jobs/service.ts
+2
−1
apps/server/src/jobs/s
ummary-coordinator.ts
+23
−4
apps/server/
src/main.ts
+287
−48
apps/server/sr
c/mcp.test.ts
+67
−0
apps/server
/src/mcp.ts
+191
−22
apps/server/src/mc
p/archive.test.ts
+156
−0
apps/server/src/mcp
/documents.test.ts
+52
−0
apps/server/src/m
cp/hosted.test.ts
+200
−2
apps/server/src
/mcp/hosted.ts
+230
−137
apps/server/src/m
cp/rename.test.ts
+3
−2
apps/server/src
/mcp/routes.ts
+1
−1
apps/server/src/
plan/service.ts
+12
−3
apps/server/src/r
esearch/routes.ts
+10
−2
apps/server/src/re
search/service.ts
+6
−1
apps/server/
src/rooms.ts
+4
−2
apps/server/src/sock
et/admission.test.ts
+20
−1
apps/server/src/so
cket/admission.ts
+11
−1
apps/server/src/st
orage/contract.ts
+581
−0
apps/server/src/stora
ge/memory/adapter.ts
+94
−9
apps/server/src/sto
rage/memory/jobs.ts
+22
−0
apps/server/src/stora
ge/memory/research.ts
+51
−3
apps/server/src/
storage/model.ts
+17
−2
apps/server/src/
storage/port.ts
+26
−6
apps/server/src/storage/
postgres/adapter.test.ts
+18
−3
apps/server/src/storag
e/postgres/adapter.ts
+92
−8
apps/server/src/stor
age/postgres/jobs.ts
+10
−0
apps/server/src/storage
/postgres/migrations.ts
+3
−0
apps/server/src/storage/postgres/mi
grations/010_document_archival.sql
+6
−0
apps/server/src/storage
/postgres/navigation.ts
+28
−6
apps/server/src/storag
e/postgres/research.ts
+23
−4
apps/server/src/ta
sks/plan-graphs.ts
+1
−1
apps/server/
src/wire.ts
+2
−0
apps/web/src
/api.test.ts
+52
−0
apps/web/s
rc/api.ts
+29
−7
apps/web/src/channe
l-recovery.test.ts
+27
−1
apps/web/src/cha
nnel-recovery.ts
+23
−0
apps/web/src/chat/ref
erence-picker.test.ts
+3
−2
apps/web/src/chat/r
eference-picker.tsx
+6
−3
apps/web/src/delete-
document-dialog.tsx
+72
−0
apps/web/src/document
-actions-menu.test.ts
+25
−0
apps/web/src/docume
nt-actions-menu.tsx
+189
−0
apps/web/src/docume
nt-actions.test.ts
+47
−7
apps/web/src/docu
ment-actions.tsx
+20
−2
apps/web/src/doc
ument-picker.tsx
+9
−2
apps/web/src/documen
t-search-dialog.tsx
+21
−6
apps/web/src
/hosted.tsx
+7
−2
apps/web/src/naviga
tion-chrome.test.ts
+28
−6
apps/web/src/naviga
tion-model.test.ts
+24
−4
apps/web/src/nav
igation-model.ts
+10
−3
apps/web/src/navi
gation-shell.tsx
+198
−77
apps/web/src/n
avigation.css
+83
−1
apps/web/src/project
-sidebar-chrome.tsx
+29
−0
apps/web/src/pro
ject-sidebar.tsx
+35
−47
apps/web/src/researc
h-navigation.test.ts
+30
−0
apps/web/src/resea
rch-navigation.ts
+22
−5
apps/web/src/resear
ch-sidebar.test.ts
+39
−3
apps/web/src/resea
rch-workspace.css
+1
−0
apps/web/src/resea
rch-workspace.tsx
+85
−25
apps/web/src/roo
m-workspace.tsx
+120
−43
apps/web/src/use-pr
oject-documents.ts
+139
−39
apps/web/src/use-p
roject-research.ts
+17
−2
apps/web/src/
wire.test.ts
+48
−1
apps/web/s
rc/wire.ts
+32
−6
docs/backgro
und-jobs.md
+20
−2
docs/cha
nnels.md
+59
−16
docs/implementat
ion-lifecycle.md
+14
−1
docs/local-a
gent-mcp.md
+17
−9
docs/sto
rage.md
+42
−10
e2e/document-na
vigation.e2e.ts
+64
−15
e2e/responsive-
activity.e2e.ts
+1
−1
e2e/responsive-w
orkspace.e2e.ts
+1
−1
packages/editor/src
/comment-layer.tsx
+19
−11
packages/editor/src
/comments.test.tsx
+74
−0
packages/editor/
src/comments.tsx
+14
−9
packages/editor/sr
c/plan-editor.tsx
+1
−0
packages/editor/src
/toolbar/bubble.tsx
+1
−1
packages/editor/src/widge
ts/questionnaire.test.tsx
+31
−0
packages/editor/src/wid
gets/questionnaire.tsx
+20
−7
packages/proto
col/index.d.ts
+13
−2
packages/protocol
/session.test.ts
+57
−0