Repository navigation
Conversation
kordless
force-pushed
the
feat/plugin-embeddings-picker
branch
from
October 15, 2026 00:37
615c78a to
f621d24
Compare
kordless
force-pushed
the
feat/plugin-uploads-vision
branch
from
October 15, 2026 00:39
2311cce to
ed75ad9
Compare
added 5 commits
October 15, 2026 01:07
…nds, worker thread, and UI privacy note
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements PR C of the Lume TI 0.17.0 plan (
feat/plugin-uploads-vision, stacked on #82):POST /api/library/upload):adminStatus), streams directly to disk with a 50 MB cap (413on oversize stream, never buffering the full file in memory), checks extension allowlist (.pdf,.md,.txt,.png,.jpg/.jpeg,.webp) and magic bytes (%PDF-, PNG, JPEG,RIFF....WEBP, and text NUL/binary checks), sanitizes names to[A-Za-z0-9._-], saves under<library>/files/user/, and never overwrites existing files (409).<name>.mdfiles beside them, and both the Library list and search results link directly to the original file (/plugins/signalk-lume-ti/api/library/file/user/<name>, opening PDFs at#page=N).lume indexupdate after upload.glm-5.3:clouddefault) only; localgemma4is rejected."waiting for a description"(visionStatus: 'waiting_for_description') and automatically retries when internet connectivity returns (retryPendingVision)./DCTDecodestreams per/Type /Pagein pure Node, which works in the Signal K container without external binaries) and falls back topdftoppmwhen installed.readBookIndex=1orPOST /api/library/pdf-book-index).POST /api/library/pdf-page) only for pages without extracted text, caching every described page in<library>/vision-cache/<name>.jsonso no page is ever described twice.public/index.html,public/library.js,public/style.css):"Added by you"section +"waiting for a description"badge.Verification
npm testinplugins/signalk-lume-ti: 111/111 passing (includingtest/uploads.test.js).