Skip to content

Add recoverable Trash and one MCP connection for both libraries - #60

Merged
nicosuave merged 2 commits into
mainfrom
library-actions
Nov 3, 2026
Merged

nicosuave merged 2 commits into
mainfrom
library-actions

Conversation

@nicosuave

Copy link
Copy Markdown
Member

Artifacts and scripts can now be deleted into recoverable Trash from the gallery or MCP. Trashing an item removes it from active listings, disables its URL and file-transfer grants, and pauses schedules while retaining history, data, files and secrets. Restore returns it to the owning library with its original URL; schedules remain paused. Names and slugs stay reserved, and already admitted requests may finish.

One authenticated MCP connection now supports personal and team libraries through a per-call library_scope selector and an in-app library switcher. Previews, source reads, backend/file requests, mentions and conversation context retain their library selection. Existing URL defaults remain compatible, personal libraries remain isolated by authenticated identity, and service tokens remain team-only.

Validation: both TypeScript checks and the Cloudflare dry-run build passed, along with focused MCP/browser and ownership suites. Worker/OAuth integration checks covered ownership, service-token restrictions, retained data and schedule behavior; resource-scope assertions were updated for the new selector and rerun successfully. The mobile Trash flow and screenshot were verified.

The catalog grew to 53 operations across two discovery pages. Cover the
second page and the new delete, undelete and Trash operations, and use a
fresh connection for the cross-origin auth-flow request.
@nicosuave
nicosuave added this pull request to stack #62 November 3, 2026 00:33
@nicosuave
nicosuave merged commit aba6de8 into main Nov 3, 2026
14 checks passed
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.

1 participant