Implement CEP-15 Web Catalog Integration#28
Conversation
|
@abhayguptas is attempting to deploy a commit to the ContextVM's projects Team on Vercel. A member of the Team first needs to authorize it. |
- Add utility functions to extract CEP-15 tags (i, k, t) - Define nostr filters for common schema discovery - Implement Applesauce loaders and models to deduplicate and parse kind:11317 events - Add TanStack query hooks for catalog data fetching Signed-off-by: Siddhi Gupta <siddhigupta811@gmail.com> Signed-off-by: Abhay Gupta <abhayakg123@gmail.com>
a0b1601 to
56ca830
Compare
|
Hi, @gzuuus! Phase 1 (Data Layer) is complete and pushed. I have implemented the tag parsing utilities, Nostr filters, timeline loaders, and the Applesauce models for grouping the schemas. The model strictly deduplicates Could you please review the Svelte 5 / Applesauce reactivity patterns in |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Looking great, notice that we are already fetching tool announcements so check out we are not refetching them for this case |
- Add 'Browse Common Schemas' CTA button on servers page - Create root /catalog route to list all discovered common schemas - Create /catalog/[hash] detail route to list providers for specific schemas - Implement search filtering for schema names and categories Signed-off-by: Abhay Gupta <abhayakg123@gmail.com>
- Parse common schema NIP-73 tags directly from announcement payload - Inject schema hash badges inline in tool form headers - Provide seamless routing back to the catalog provider list Signed-off-by: Siddhi Gupta <siddhigupta811@gmail.com>
7476374 to
4ac9c0b
Compare
…oss-navigation Signed-off-by: Abhay Gupta <abhayakg123@gmail.com>
…directional tag cloud navigation
0ca5db2 to
29a8c6c
Compare
|
@ContextVM-org please review the new commits! |
|
I reviewed the PR and I don’t think it is ready yet. The implementation still needs work, and in its current state it feels unfinished, with several leftovers from previous iterations still present in the codebase. My main concern is that the CEP-15 integration is not wired in a truly reactive way. Right now the discovery data is not available as soon as the servers page loads. Also users effectively need to hit a server page first before the hashes and categories become visible back on I also think the parsing is attached to the wrong source in a few important places. On the server page, the code is deriving CEP-15-related tags from the server announcement tags in I also don’t think we are constraining the parsing tightly enough. The helper in From a product and UX perspective, I think the route structure still carries too much historical baggage. The I also think the server page integration is incomplete. The design intent was that There are also some code hygiene issues that reinforce the impression that this PR still needs cleanup before it is mergeable. The schema badge link in My overall take is that the PR has the beginnings of the right feature, but it is still not coherent end to end. I would describe it as partially implemented and in need of another cleanup pass before review can be considered complete. The core direction should be to make CEP-15 discovery load immediately from tools announcements, ensure only actual common-schema servers and tools are parsed, remove the dead catalog leftovers, and consolidate the UX so that |
…scovery, and clean up legacy catalog routes Signed-off-by: Abhay Gupta <abhayakg123@gmail.com>
|
Hey @ContextVM-org ! Just pushed a new commit addressing all the feedback points from your review. I think the integration is much more solid end-to-end now:
Let me know if this aligns better with what you were looking for! Happy to make any further tweaks if needed. |
Signed-off-by: Abhay Gupta <abhayakg123@gmail.com>
This pull request implements the CEP-15 (Common Tool Schemas) integration for the ContextVM website. It introduces a catalog that allows users to discover servers based on the standard tools they implement.
This PR is being built incrementally. The checklist below outlines the implementation phases.
Implementation Plan
Phase 1: Data Layer & Core Utilities
i,k, andttags and_meta.schemaHash.#kand#i).CatalogSchemasModel) with strict pubkey deduplication.Phase 2: Catalog UI & Routing
/serverspage./catalogroute grouping all schemas./catalog/[hash]route listing providers for a specific schema.Phase 3: Cross-Navigation & Server Details
ToolCallForm.svelteto link back to the catalog.Testing
The data layer is being verified locally using
nak servealongside therelatrtest server to ensure isolated event parsing.Closes #27