Added
km uploadsends files from your computer directly to a hosted Knowmarks account, including chosen projects and notes. It preserves the original file name, supports replacing an existing document, and can return a machine-readable save receipt for batch work. Failed or incomplete saves are clearly reported.
Improved
- File-ingestion tool guidance now explains that server-side paths cannot reach files on your computer and points to the local upload command.
- Queue acceptance failures have an explicit recoverable state. Failed upload receipts retain saved-item IDs in JSON output, including immediate failures.
- File uploads can process in the background with a persistent receipt. Check progress with
km upload-statusafter disconnecting; repeated receipt IDs do not create another save or replay a document replacement.
Fixed
- Long file uploads keep their processing status while the worker remains active, instead of being incorrectly reported as interrupted after 30 minutes.
- Upload replay protection survives database backup recovery, including missing staging files and newer receipts left on disk. Background save analytics uses the saving account. Upload errors follow the shared API response format.
- Concurrent uploads that replace the same document now serialize, preserving each revision. Upload status checks retain a result that finishes mid-check.
- Hosted PDF processing admits one heavy conversion at a time and uses bounded page batches. After conversion, it returns unused native heap memory where the system allocator supports it. OCR and table extraction remain enabled.
- Document extraction no longer blocks the web server's event loop. Background uploads acknowledge receipt before extraction so long PDFs can finish after the original connection closes.
Fixed
- Companion keeps each account's pending previews, refinements and confirmations separate, including when conversations in different accounts share a number.
- If a conversation was deleted in another tab, confirming its old preview now reports the failure instead of displaying a false success message.
- Companion can create citations with the supported attribution value.