feat: editable shared lists, domain proxying, VC provenance#136
Merged
brianorwhatever merged 1 commit intofeat/did-resource-sharingfrom Feb 19, 2026
Merged
feat: editable shared lists, domain proxying, VC provenance#136brianorwhatever merged 1 commit intofeat/did-resource-sharingfrom
brianorwhatever merged 1 commit intofeat/did-resource-sharingfrom
Conversation
1. Domain proxying (server.ts):
- Replace 'bunx serve' with Bun server that proxies
/user-*/did.jsonl and /user-*/resources/* to Convex
- Static file serving with proper caching for dist/
- SPA fallback for all other routes
2. Editable shared lists:
- Check/uncheck items via POST .../items/{id}/check|uncheck
- Add items via POST .../items with {name} body
- Optimistic UI updates + 5s polling for real-time sync
- SharedListResource component now interactive with add input
3. VC provenance:
- ListPublished VC issued when sharing a list
- VC stored in publications table (credential field)
- ItemCreated/ItemCompleted VC helpers ready for use
- Unsigned VCs for now — signing integration next
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.
Builds on PR #135 with the three follow-up items.
1. Domain Proxying (
server.ts)Replaces
bunx serve dist -swith a Bun server that:/user-*/did.jsonland/user-*/resources/*to the Convex HTTP backenddist/with proper cache headersThis means
trypoo.app/user-abc123/did.jsonlnow resolves correctly without needing Cloudflare Workers or hosting rewrites.Railway config updated:
bun run server.tsinstead ofbunx serve dist -s2. Editable Shared Lists
Anyone with a shared list link can now:
New Convex mutations:
checkSharedItem/uncheckSharedItem— toggle item statusaddSharedItem— add items to shared listsNew HTTP routes:
POST /{userPath}/resources/list-{id}/items— add itemPOST /{userPath}/resources/list-{id}/items/{itemId}/check— checkPOST /{userPath}/resources/list-{id}/items/{itemId}/uncheck— uncheck3. VC Provenance
ListPublishedVC issued when sharing a list (stored inpublications.credential)ItemCreatedandItemCompletedVC helpers ready (src/lib/credentials.ts)publicationstable has newcredentialfieldStill needed