Repository navigation
feat(viewer)!: remove the chunk viewer and the summary tier - #691
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5c43868 to
0b3a5a3
Compare
0b3a5a3 to
b7e2ee0
Compare
b7e2ee0 to
3fc83a7
Compare
|
Claude finished @cbcoutinho's task in 30s —— View job Review of PR #691 (already merged)What I read: the full diff of Verdict: approve. Checks against CLAUDE.md
Code observations (no blockers)
Nits (optional)
claude-review: verdict=approve head=cfa870ed8da6676cf3e7500e36fdcad07bdb02e8 |
|
Review findings addressed in
|
|
Approve-round nits, in
|
a2bf9ea to
85a4913
Compare
Search results now open in the MCP App views only: the document viewer for files and the record viewer for notes, Deck cards, news and mail (ADR-0001 §6). A result no view opens (an older or unreachable server, calendar, contacts) has no Open action, and its title opens it in its own Nextcloud app; a shared link to one navigates there. CSV opens in the document viewer's text mode. Removed: DocumentViewer, PDFViewer, CsvViewer and MarkdownViewer with their utilities, the PDF.js and markdown-it dependencies with the page CSP and packaged assets PDF.js needed, the chunk-context proxy and its local access re-check, and the summary tier (AssistantController, SummaryService, the cleanup listener). The scratch-folder sweep stays one release to clean up after summaries in flight at upgrade. access.spec now checks revocation where it is enforced: open_document reads the file as the user, so a revoked share fails there. BREAKING CHANGE: requires nextcloud-mcp-server 0.237.0 or later, which lists the document and record viewers; against an older server every result opens in its own Nextcloud app, so do not upgrade Astrolabe before the MCP server. Removed API surface: GET /apps/astrolabe/api/chunk-context, POST /apps/astrolabe/api/v1/summary, and the assistant.summary_modes OCS capability. Summaries need the agent (a Chat with tools provider plus the admin opt-in); summary-only and image-analysis providers are no longer used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y comments A misapplied edit put the shared-link title default on line 1, in front of <template>, instead of on the link result. The link title now defaults to the empty string as intended. The sweep job, its info.xml comment and tests/README.md still cited the removed SummaryCleanupListener and ScratchImageStore token check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
85a4913 to
cfa870e
Compare
|



What
The last step of ADR-0001 (§6 steps 2–4): Astrolabe's own chunk viewer and summary tier are removed. Search results now open in the MCP App views served by nextcloud-mcp-server:
Breaking change (minor bump on 0.x)
The commit carries a
BREAKING CHANGE:footer, so the change appears in the changelog for the release it ships in.GET /apps/astrolabe/api/chunk-contextPOST /apps/astrolabe/api/v1/summaryassistant.summary_modesOCS capability (openapi.jsonregenerated)The MCP server keeps
/api/v1/chunk-contextfor older Astrolabe installs. This app just stops calling it.Removed
DocumentViewer,PDFViewer,CsvViewerandMarkdownViewerchunkViewer.jsandcsvTable.jswith their tests, andpdfRangeTransport.jspdfjs-distandmarkdown-itdependencies, the vite PDF.js asset plugin, and thepdfjs/packaging includeworker-src blob:, wasm)ApiController::chunkContextwith its access helpers, andMcpServerClient::getChunkContextAssistantController,SummaryService,SummaryExceptionandSummaryCleanupListenergetSummaryModesSweepSummaryScratchJob), cut down tosweep(). It cleans up after summaries that were in flight at upgrade.Tests
viewerChoice: the model and pinned table are updated to the five rules. The "every outcome reached" check is nowapp/native/record, andappFocuswith no usable focus opens unfocused.assistantblock is onlyagent_available.chunk-contextis removed. The/mcppacts (open_document,open_record) are unchanged.access.specchecks revocation where it is now enforced. Bob'sopen_documentworks while the file is shared and fails once the share is revoked, because the viewer reads the file as the user.viewer-routingadds tests that:search-optionsasserts that a global-search note link launchesopen_recordwith the link's offsets.pdf-viewer.spec.tsand the chunk-viewer scan test are deleted.ADR-0001 §2 (the rule table) and §6 (outcome) are updated, and so are the docs page Assistant → Summarize or ask about a document.
Tracked on Deck board 12, card #1762.
This PR was generated with the help of AI, and reviewed by a Human
🤖 Generated with Claude Code