Skip to content

Commit 4039e05

Browse files
ochafikclaude
andcommitted
pdf-server: add annotations, download, form fill, and highlight_text
Add PDF annotation system with 7 annotation types (highlight, underline, strikethrough, note, rectangle, freetext, stamp), text-based highlighting, form filling, and annotated PDF download using pdf-lib. - Server: annotation Zod schemas, extended interact tool with add/update/remove annotations, highlight_text, and fill_form actions - Client: annotation layer rendering with PDF coordinate conversion, persistence via localStorage (using toolInfo.id key), pdf-lib-based download with embedded annotations and form fills, uses app.downloadFile() SDK with <a> fallback - Model context includes annotation summary Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9dcb37f commit 4039e05

32 files changed

Lines changed: 1384 additions & 8 deletions

File tree

3.23 KB
Loading
1.87 KB
Loading
-48 Bytes
Loading
-691 Bytes
Loading
6.56 KB
Loading
6.1 KB
Loading
2.74 KB
Loading
2.88 KB
Loading
6.51 KB
Loading
5.35 KB
Loading

0 commit comments

Comments
 (0)