Skip to content

feat(mcp): add resumable long-PDF editing [testing needed] - #650

Draft
spetro511 wants to merge 1 commit into
alibaba:mainfrom
spetro511:feat/resumable-long-pdf-mcp
Draft

feat(mcp): add resumable long-PDF editing [testing needed]#650
spetro511 wants to merge 1 commit into
alibaba:mainfrom
spetro511:feat/resumable-long-pdf-mcp

Conversation

@spetro511

Copy link
Copy Markdown

Important

Status: testing needed. This PR is intentionally opened as a draft pending maintainer/manual browser-extension testing.

Summary

  • add a durable, resumable workspace for long PDF editing jobs
  • add bounded and atomic PDF versioning, checkpointing, recovery, and exact operation tracking
  • add secure browser-artifact ingestion with path/inode validation, pinned-descriptor SHA-256 verification, encryption rejection, and aggregate workspace quotas
  • add PyMuPDF inspection/editing support and a constrained pdf.net browser playbook
  • isolate paused jobs and unrelated execute_task calls from automatic lifecycle changes

Automated verification

  • Prettier
  • ESLint
  • TypeScript typecheck
  • all workspace tests
  • MCP tests (49/49)
  • all seven builds
  • MCP package dry-run
  • lock/recovery stress (5/5)
  • Hermes MCP discovery (10 tools)
  • independent exact-tree security and logic review

Testing needed

  • exercise a real 20+ page PDF through the browser-extension/pdf.net workflow
  • interrupt and resume a job across MCP/server restarts
  • verify user-stop pause behavior and explicit resume behavior
  • validate final output manually in a desktop PDF viewer

Authorship

Authored by spetro511 <surenpeter511@gmail.com>.

Add durable PDF job workspaces, strict bounded operations, and
PyMuPDF editing and validation.

Add restart-safe checkpoints, active-job context injection, structured
PageAgent result reasons, and end-to-end CI coverage.
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants